package java2_unit6_1020.test1;
/*
 * 分析思路；写详细的注释；根据注释写代码。
 */
public class Test {
	public static void main(String[] args) {
		//创建普通手机
		CommonPhone cPhone = new CommonPhone("诺基亚", "3310");
		cPhone.info();
		cPhone.call();
		cPhone.sendMsg();
		cPhone.playMedia();
		cPhone.takePhoto();
		
		System.out.println("========================");
		
		
		//创建智能手机
		IntelligentPhone iPhone = new IntelligentPhone("华为","Mate30");
		iPhone.info();
		iPhone.call();
		iPhone.sendMsg();
		iPhone.playMedia();
		iPhone.takePhoto();
		iPhone.installSoft();
		iPhone.uninstallSoft();
		iPhone.carryOS();
	}
}
